#include"DList.h"


void test1()
{
	DLNode* phead = DLInit();
	//DLPushBack(phead, 1);
	//DLPushBack(phead, 2);
	//DLPushBack(phead, 3);
	//DLPushBack(phead, 4);
	DLPushFront(phead, 1);
	DLPushFront(phead, 2);
	DLPushFront(phead, 3);
	DLPushFront(phead, 4);
	for (int i = 1; i < 5; i++)
	{
		DLNode* ret = DLFind(phead, i);
		DLInsertAfter(ret, 88);
		DLPrint(phead);
	}
	DLPrint(phead);
	DLDestroy(phead);
}

int main()
{
	test1();
	return 0;
}

